/*
 * Main.cpp
 *
 *  Created on: Sep 4, 2011
 *      Author: Patrick
 */

#include "MediaCenter.h"
#include "Renderer.h"

int main(int argc, char* argv[]) {

	Renderer renderer;
	RendererContext context;

	context.screenWidth = 1280;
	context.screenHeight = 720;
	context.screenBPP = 16;

	context.keyBuffer = new int[64]; // Enough space for 64 keystrokes per frame
	context.activeKeys = new int[512];
	context.keyBufferIndex = 0;

	context.sdlVideoFlags = SDL_OPENGL;

	return renderer.start(context);

}
